package cn.flying.base.process.bo;

import java.io.Serializable;

/**
 * @description: 流程定义对象
 * @author: lvyong
 * @date: 2023年02月16日 11:01
 * @version: 1.0
 */
public class ProcDefinition implements Serializable {
    /**
     * id
     */
    private String id;
    /**
     * 流程定义key
     */
    private String key;
    /**
     * 类别
     */
    private String category;
    /**
     * 流程定义名称
     */
    private String name;
    /**
     * 描述
     */
    private String description;
    /**
     * 资源文件名称
     */
    private String resource;
    /**
     * 版本号
     */
    private String version;
    /**
     * 状态
     */
    private boolean suspended;
    /**
     * 流程部署ID
     */
    private String deploymentId;
    /**
     * 流程图
     */
    private String diagramResourceName;
    /**
     * 租户号
     */
    private String tenantId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public boolean isSuspended() {
        return suspended;
    }

    public void setSuspended(boolean suspended) {
        this.suspended = suspended;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public String getDiagramResourceName() {
        return diagramResourceName;
    }

    public void setDiagramResourceName(String diagramResourceName) {
        this.diagramResourceName = diagramResourceName;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
